184. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-07-12 04:42:43 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

184.1 Files compared

#LocationFileLast Modified
1Porto v4.0.5/Theme Files/Porto Theme/app/code/Smartwave/Megamenu/view/frontend/templatestopmenu.phtml2018-06-11 20:54:56 +0000
2Porto v4.0.6/Theme Files/Porto Theme/app/code/Smartwave/Megamenu/view/frontend/templatestopmenu.phtml2018-06-11 20:54:56 +0000

184.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged198
Changed00
Inserted00
Removed00

184.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

184.4 Active regular expressions

No regular expressions were active.

184.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © 2018 Porto. All rights reserved. 3  * Copyright © 2018 Porto. All rights reserved.
4  */ 4  */
5  5 
6 ?> 6 ?>
7 <?php 7 <?php
8 /** 8 /**
9  * Top menu for store 9  * Top menu for store
10  * 10  *
11  * @see \Smartwave\Megamenu\Block\Topmenu 11  * @see \Smartwave\Megamenu\Block\Topmenu
12  */ 12  */
13 ?> 13 ?>
14 <?php 14 <?php
15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data'); 15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data');
16     $_config = $_helper->getConfig('sw_megamenu'); 16     $_config = $_helper->getConfig('sw_megamenu');
17     $columnsLimit = 0; 17     $columnsLimit = 0;
18     if($_config['general']['enable']) { 18     if($_config['general']['enable']) {
19 ?> 19 ?>
20 <?php $_menu = $block->getMegamenuHtml(); ?> 20 <?php $_menu = $block->getMegamenuHtml(); ?>
21  21 
22 <nav class="navigation sw-megamenu" role="navigation"> 22 <nav class="navigation sw-megamenu" role="navigation">
23     <ul> 23     <ul>
24         <?php echo $_menu; ?> 24         <?php echo $_menu; ?>
25     </ul> 25     </ul>
26 </nav> 26 </nav>
27  27 
28 <script type="text/javascript"> 28 <script type="text/javascript">
29     require([ 29     require([
30         'jquery', 30         'jquery',
31         'Smartwave_Megamenu/js/sw_megamenu' 31         'Smartwave_Megamenu/js/sw_megamenu'
32     ], function ($) { 32     ], function ($) {
33         $(".sw-megamenu").swMegamenu(); 33         $(".sw-megamenu").swMegamenu();
34     }); 34     });
35 </script> 35 </script>
36 <?php 36 <?php
37     } else { 37     } else {
38 ?> 38 ?>
39 <?php $_menu = $block->getHtml('level-top', 'submenu', $columnsLimit); ?> 39 <?php $_menu = $block->getHtml('level-top', 'submenu', $columnsLimit); ?>
40  40 
41 <nav class="navigation sw-megamenu" role="navigation"> 41 <nav class="navigation sw-megamenu" role="navigation">
42     <ul data-mage-init='{"menu":{"responsive":true, "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'> 42     <ul data-mage-init='{"menu":{"responsive":true, "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'>
43         <?php /* @escapeNotVerified */ echo $_menu; ?> 43         <?php /* @escapeNotVerified */ echo $_menu; ?>
44     </ul> 44     </ul>
45 </nav> 45 </nav>
46  46 
47 <?php 47 <?php
48     } 48     }
49 ?> 49 ?>